package com.chixing.day03_oop;

public class Phone {
    //属性
    private String phoneName; //手机名字
    private String phoneSize; //手机尺寸
    private float phonePrice; //价格
    private String phoneColor; //颜色

    //构造函数

    //无参
    public Phone() {

    }
    //有参
    public Phone(String name,String size,float price, String color){
        this.phoneName = name;
        this.phoneSize = size;
        this.phonePrice = price;
        this.phoneColor = color;
    }




    public String getphoneName() {
        return phoneName;
    }

    public void setpHoneName(String phoneName) {
        this.phoneName = phoneName;
    }

    public String getPhoneSize() {
        return phoneSize;
    }

    public void setPhoneSize(String phoneSize) {
        this.phoneSize = phoneSize;
    }

    public float getPhonePrice() {
        return phonePrice;
    }

    public void setPhonePrice(float phonePrice) {
        this.phonePrice = phonePrice;
    }

    public String getPhoneColor() {
        return phoneColor;
    }

    public void setPhoneColor(String phoneColor) {
        this.phoneColor = phoneColor;
    }



}
